package com.kgc.scd.service;

import com.kgc.scd.util.RequestResult;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * Created On : 2022/6/18.
 * <p>
 * Author     : 15950526365
 * <p>
 * Description: BuyVipService
 */
@FeignClient(value = "blmall-server-liqiang-8105")
public interface BuyVipService {

    @PostMapping("/placeVipOrder")
    Map<String, Object> placeVipOrder(@RequestParam("userId") String userId);


    @PostMapping("/unifiedOrder")
     RequestResult<Map<String, String>> wechatPayUnifiedOrder(@RequestParam("vipOrderId") String vipOrderId,
                                                                    @RequestParam("userId") String userId);


    }
